export const columnsPipe = [
  {
    title: '通道序号',
    key: 'channel',
    align: 'center'
  },
  {
    title: '通道类型',
    key: 'channelType',
    align: 'center',
    $selectable: true
  },
  {
    title: '通道别名',
    key: 'channelAlias',
    align: 'center',
    $editable: true
  },
  {
    title: '操作',
    align: 'center',
    key: 'handle',
    $handle: ['edit']
  }
]

export const fourTablePipe = [...new Array(4)].map((_, i) => {
  return {
    channel: ++i,
    channelAlias: null,
    channelType: null
  }
})

export const eightTablePipe = [...new Array(8)].map((_, i) => {
  return {
    channel: ++i,
    channelAlias: null,
    channelType: null
  }
})
